import request from '@/request'

export const get_dept_list = (parms?:any) => {
  return request.post<any>('/user/role-data',parms)
}
export const change_dept_list = (parms?:any) => {
  return request.post<any>('/user/role-update',parms)
}
export const delete_dept_list = (parms?:any) => {
  return request.post<any>('/user/role-delete',parms)
}
// 权限列表
export const get_permissions_list = (parms?:any) => {
  return request.post<any>('/user/permission-data',parms)
}